import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class ChromeDemo {

    public static void main(String[] args) {
        //前提是已经配置好chormedriver环境变量
        WebDriver driver = new ChromeDriver();
        //打开chrome浏览器
        driver.get("https://ceshiren.com/");
        //关闭driver进程
        driver.quit();
    }
}
